package com.zoe.onelink.governance.gateway.route;

import com.zoe.onelink.governance.gateway.model.NativeGatewayRoute;

import java.util.List;

/**
 * <p>标题: 网关路由列表生成器</p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2022</p>
 * <p>公司: 智业软件股份有限公司</p>
 *
 * @version: 1.0
 * @author: ruansheng
 * @date: 2022-10-20
 */
public interface GatewayDynamicRouteGenerator {

    /**
     * 生成网关路由列表
     *
     * @param serviceName 服务名
     */
    List<NativeGatewayRoute> generateNativeRoutes(String serviceName);

}
